#ifndef __VIDEO_SCRCHRXY_H__
#define __VIDEO_SCRCHRXY_H__

#include <video/getxy.h>
#include <video/gotoxy.h>
#include <video/scrchr.h>

/**
 *  scrchrxy()
 *  vrati znak, ktery je na pozici x,y
 */
char scrchrxy(int x, int y) {
  int ox = 0, oy = 0;
  char b;
  getxy(&ox, &oy);
  gotoxy(x,y);
  b = scrchr();
  gotoxy(ox, oy);
  return b;
}
#endif
